home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3594 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  703 b 

  1. Path: annex-dialup02.med.cornell.edu!user
  2. From: erik@mail.med.cornell.edu (Erik A. Dahl)
  3. Newsgroups: comp.lang.c++
  4. Subject: Strongly Typed Function Pointers
  5. Date: Wed, 24 Jan 1996 19:56:09 -0500
  6. Organization: Cornell University Medical College
  7. Message-ID: <erik-2401961956090001@annex-dialup02.med.cornell.edu>
  8. NNTP-Posting-Host: annex-dialup02.med.cornell.edu
  9.  
  10. I have a program that I'm porting from C to C++ which uses void (*)(void*)
  11. function pointers to call many differant "types" of functions (ones with
  12. differant argument lists).  This of course works in C but I'm dying in C++
  13. with compiler errors (becuase the pointer isn't of the right type).  Is
  14. there an easy way around this problem??
  15.  
  16. -EAD
  17.